package com.shzu.jwc.ty.common;

import java.util.Calendar;

public class Semester {
	
	public static String getnow()
	{
		Calendar cal=Calendar.getInstance();
		int year=cal.get(Calendar.YEAR);
		int month=cal.get(Calendar.MONTH)+1;
		if(month>=2&&month<=7)
			return (year-1)+"-"+(year)+"-2";
		else if(month>=1&&month<2)
			return (year-1)+"-"+(year)+"-1";
		else
			return (year)+"-"+(year+1)+"-1";
	}

}
